import Layout from '@/layout'
export default [
  {
    path: '/system',
    name: 'system',
    meta: {
      icon: 'md-cloud-upload',
      title: '系统设置'
    },
    component: Layout,
    children: [
      {
        path: 'role',
        name: 'role',
        meta: {
          icon: 'ios-document',
          title: '角色设置'
        },
        component: () => import('@/views/system/role')
      },
      {
        path: 'admin',
        name: 'admin',
        meta: {
          icon: 'ios-document',
          title: '管理员账号'
        },
        component: () => import('@/views/system/admin')
      },
      {
        path: 'menu',
        name: 'menu',
        meta: {
          icon: 'ios-document',
          title: '系统菜单设置'
        },
        component: () => import('@/views/system/menu')
      },
      {
        path: 'depart',
        name: 'depart',
        meta: {
          icon: 'ios-document',
          title: '部门设置'
        },
        component: () => import('@/views/system/depart')
      }
    ]
  }
]
